{include file="Public:header" /}
<link rel="stylesheet" href="__PUBLIC__/Admin/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css"
      media="screen"/>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>练习题修改管理</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content" >
                    <form id="activityForm" action="__URL__/learnEdit" method="post" enctype="multipart/form-data"
                          class="form-horizontal">
                        <input type="hidden" name="id" class="form-control" value="{$data.id}">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标题</label>
                            <div class="col-sm-6" style="width:75%;">
                                <input type="text" name="title" class="form-control"
                                       value="{$data.title}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <!--详情start-->
                        <div class="form-group">
                            <label class="col-sm-2 control-label" style="height:auto;">考前学习详情</label>
                            <div class="col-sm-10">
                                <script type="text/plain" id="editor" name="content"
                                        style="width:90%;height:90%;">
                                     {$data.content|htmlspecialchars_decode|stripslashes}
                                </script>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>

                        <div class="col-sm-4 col-sm-offset-2" style="margin-top: -10px;">
                            <button class="btn btn-primary" type="submit">保存</button>
                            <button class="btn btn-white" type="submit">取消</button>
                        </div>
                </div>
                </form>
            </div>
        </div>
    </div>
</div>
</div>
</div>

{include file="Public:footer" /}
<script src="__PUBLIC__/ueditor/ueditor.config.js" type="text/javascript"></script>
<script src="__PUBLIC__/ueditor/ueditor.all.js" type="text/javascript"></script>
<script>
    UE.getEditor('editor',{
        initialFrameHeight:500,
       });
</script>
</body>
</html>
